package webmanage

import (
	"context"
	webmanage2 "phm/internal/biz/webmanage"

	pb "phm/api/phm/v1/webmanage"
)

type OperationService struct {
	pb.UnimplementedOperationServer
	operation *webmanage2.SysOperationUseCase
}

func NewOperationService(operation *webmanage2.SysOperationUseCase) *OperationService {
	return &OperationService{
		operation: operation,
	}
}

func (s *OperationService) Logs(ctx context.Context, req *pb.LogsReq) (*pb.LogsRep, error) {
	return &pb.LogsRep{}, nil
}
func (s *OperationService) Operation(ctx context.Context, req *pb.OperationReq) (*pb.OperationRep, error) {
	return &pb.OperationRep{}, nil
}
func (s *OperationService) CreateOperation(ctx context.Context, req *pb.CreateOperationReq) (*pb.CreateOperationRep, error) {
	return &pb.CreateOperationRep{}, nil
}
func (s *OperationService) UpdateOperation(ctx context.Context, req *pb.UpdateOperationReq) (*pb.UpdateOperationRep, error) {
	return &pb.UpdateOperationRep{}, nil
}
func (s *OperationService) DeleteOperation(ctx context.Context, req *pb.OpIdReq) (*pb.OpResult, error) {
	return &pb.OpResult{}, nil
}
func (s *OperationService) DeleteOperationByIds(ctx context.Context, req *pb.OpIdsReq) (*pb.OpResult, error) {
	return &pb.OpResult{}, nil
}
